added functions to solve for selection parameters given some popmu