* changing explicit doubles to the typedef'd floatval_t (for experiments with floats)