Final version

The final version code for estimating a fly's orientation