Clean up a lot of whitespace. Use %simplex instead of glp_simplex.
Fixing the memory usage error.

One should not free GLPK datastructures at GC time. This seems to
confuse GLPK (perhaps due to some internal bug). It is better to
clean up right after use.