Switched Surface functions to use float precision.