Created functions for adding auxiliary data; improved mean/top pay calculator