Registration error polarity

New function for calculating the polarity of the error Include flipping all normals so they face out