added code to convert .mex files, ran matlab image through lbp