Minor cosmetics
Removing unneeded whitespace in inference queries
Refactoring between.py script