successfully tested functor Speed by adding fromFloat and toFloat (not entirely sure why I had to do that...)