added two more matrix calculations. need to run them
clean up, add a main function