Not sure I completely understand what you are asking but I have done something similar modelling VCSELs. First define your (in my case) cavity, apply Snells law, use the transfer matrix method and then calculate the reflection and transmission coefficients from this. Hope this gave a little help.