Added vcrit_tripbin

Added a function to calculate the critical velocity for a binary scattering
off of a hierarchical triple.
Modified import statements

Placed the import statements inside the relevant functions.

Also fixed a missing end-parenthesis