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.
this should return a astropy quantity object in the right units.