Big bug fix for the RDC and PCS calculations used in the fixed population N-state models.
The last weight, if supplied, was being converted to zero (1 - sum(weights)) hence the last
state/structure was not being included and the population sum was not 1!