Cleaned up sorting of trip patterns
Added missing JavaDoc
Cleaned up the code that creates the Generators