Corrected Leslie method function

allowed for a single site, and fixed an error in the N.hat calculation