Adaptation to new nalgebra traits.
Fixes to make things work with the new compiler.