Made Arpack optional (again?)
Fixes for types that confuse VS compiler
More compilation fixes for VS