get/set-diagonal for matrix operators added