Initial working version of half precision.
Tidied and added half floats to tests.