Added deriv calculator for pairs, streamlined multi-purpose script in toy.py, functions in galfunctions.py