move constructors for matrix classes (fix for parallel builds)