Changing the registration.confidence function to be consistent with chen...

... 2012, eqn 14 - this prob needs checking. Also, actually including the confidence paramter that was omitted from qtildematrices.