enable different number of echoes for different runs

* it should be backward compatible (scan_metadata.m)
* enables e.g. resting-state with 5 echoes and task-runs with 4 echoes combination with the same scripts
hotfix of last commit