fixed some issues related to improper unit conversion and now uniform pion generation supports selected angle range