Update preprocessing.m