fixed a bug in cropSlice in jmHyperspy and added function to fix Inca .rpl file