Use simple python commands to modify matrices using numpy.