matrix multiplication fix & translation fix