Removed a print statement in apply_boundary_conditions. Not necessary anymore.