Updating for conversion to double precision.

Merge with MasDennis/Rajawali/#1007

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>