Fixed snell's law. Used formulas from optical filters book