as suggested turn map_func into multiplier_func

which takes demand and supply Series directly as input params