Parallelized trmm and trmm3

Also fixed bugs in packm