Changed the default number format used, so that it can be configured at compile time. Also, more support for Apple OpenCL.