Fix bug making the script crash
Documentation and formatting, plus add a way to choose which dataset to use
Remove line used for debugging purpose