Made `DiscreteTransitionFactor` conform to `NewFactor` and added Marc's fix for  `linearized`
Made `DiscreteTransitionFactor` conform to `NewFactor` and added Marc's fix for  `linearized`

borglab/SwiftFusion,borglab/SwiftFusion,borglab/SwiftFusion,borglab/SwiftFusion,borglab/SwiftFusion