removed floats and fixed mirror and rotation parameters