Implemented axis parameter in Vector and Matrix