Generalize code to run using any floating point type