fixed typo in scipy.optimize. needed to define lambda function
refactored shapley api to mimic sklearn api