Setting the Boundary Conditions of the MQW Solver