Fixed problem with matrix multiplication by a traspose