Added Linda's code for Nuker modelling