added ability to pass mean gal den and calculate M_min accordingly