Function to convert flare class into GOES flux

Thought this might be useful, but I didn't really know where to put it, so it's in goes.py for now. But I'm quite happy to move it elsewhere if anyone has a better idea.
change the function name here as well.