changed FMM calls to follow the compilation type float/double