varying B field all working. Automatically outputs to different files for different fixed beta values