Trying new method to only update those derived values that are used in the problem