First working release

Doing the easy way with floating point operations