Add comments to matrix transpose
Use list comprehension instead of a map to avoid an additional list() with
Python 3.
matrix transpose now works in both Python 2 and 3