Add the loading raw file function

Fix some bugs: sort, non-rigid, matrix->angle, mask
Need to do: read pointset file, fix the transform bug