applied a proposed fix to apply_boundary_conditions_solution