Fixing several double-float warnings, start fixing stemUtil to adapt to Eigen.