Update and rename ngram.py to cosmogramma.py

I was listening to Flying Lotus and decided this was a better name.

Also I solved that code-not-being flexible problem!