Fixed the workings of the calculation. It appears that I forgot to initalise the fusor parameters