Fixed the Contrapositive Function to be Accurate