moved to simple precision float rather than double
next step is to migrate linear algebra to directX library