The Optimal Control of an Excitable Neural Fibre