Added in control of rotation state for polarization at sample, also line scanning

Added in control of rotation state for polarization at sample, also line
scanning