Create rmslice.m