Added ability to get importances for whole mask
added functions for getting and plotting average importances
fixed bugs in prior commit