Fixed point changes and misc.

Changed a lot to fixed point functions, replaced many with segmented
quadratic polynomial approximations. Added a single point drawing
method, sRGB value conversion functions.