Dense Vector and Matrix are serializable by FileIO.serialize/deserialize
methods.