* Added a method for resetting the previously computed node values to the Layer class