Using a Bent Tube as an Energy Filter for a Positron Beam. Simulations on Determining the Optimum Angle of the Bend