Proceedings of the Royal Irish Academy: A Quaternion substitute for the theory of Tensors