use github.com/ungerik/fmath