Append fixed point arithmetic

Base on Kurt Guntheroth's paper
Unit test for fixed point arithmetics