added SMatrix; fixed missing serialization for AlignmentSurfaceDeformations; updated more files using external classes