Implemented Mat '<' and '>' operators