enhancement - added some comments and moved some lines within switch statement
Merge branch 'master' of github.com:oostenveld/fieldtrip