Added option to choose which independent variable to calculate contribution coefficient for