Add some math functions to known function hashes

This includes some double-precision soft-float. These are dicey though because
several of them differ only by immediate values and thus collide with others.
Some shader fixes
Play around with function replacement. Turned off by default of course.