enable matrix size to be passed on the command line