I have found error in save_it and load_it, may be it is
error. I test the two function in matlab.
in matlab, pattern is a 18700 vector.
using the following code:
You can find the pattern is changed a 87001 vector.
however, if pattern is 8700*1 vector.
the save_it and load_it function is OK.