implemented commutator and operator arithmetic