Made a real LGC generator

Made a state of the generator and a still to be tested arguments. But
on not at all reliable eye test got some good results.