Adding photoconsistency
Bug fixes in DenseRegistration functions