some serial optimizations, step and inverseStep
compiles now with ifort as well