Replace while(1) with do..while loop Removed dead code Renamed FP16 to FixedPoint16 to improve readability
- Add fixed point code (untested and probably wrong)