small changes: in mmLUT double pointer to *data