Developing a series of functions in Pascal to perform Matrix operations.