Now correctly transposes matrix with size 1