Added matrix stuff

Added matrix-related structuring element things (type and commands).