ylm fixed

changed modpLgndr to functional style, checked against python to
confirm.