Some matrix script in Python, just for fun.