added new matrix transform functions