implementing matrix trantransforamtions with new ProtoCephalopod class