Add matrix-effect command and fix cake functions