The [line](https://github.com/neuropoly/template/blob/5f511c763d72405a6ed21f5fd31979b7a4dd5dcb/preprocess_segment.sh#L64) does not copy the derivatives after calculating the derivatives. This has to be fixed.