Moved loading bvals and bvecs at the top

This fixes #1. Now files are loaded at the begining, which means the script will fail early if the bvals and bvecs are not existing or in the correct format, instead of computing everything and failing at the end.