1. bugs of the error fixed;
2. new algorithm of removing baseline added;
3. print out fname into the shape parameter file.