ENH Add function currymap

This currys the input function and allows map to be useful when you have a
function of multiple inputs.