Updated rle.surface to handle multiphase level sets