added linearization and vectorization methods to manager.Manager.