Implement Matrix#toVector. Close #59