1. Registration cross-correlation measure: Fixed defect when either Source or Target were completely = 0
This was causing an infinite loop during the registration.
2. Added general warning for all registration measure if the partial result of calculation was NAND.