Datatype Corrections

The previously 'double' center coordinates have been corrected to
'floats' so that the code actually compiles.