fix param types, use pre-increment, more comments in new gridmaker functions
fix param types, use pre-increment, more comments in new gridmaker functions

gnina/gnina,gnina/gnina,gnina/gnina,gnina/gnina,gnina/gnina,gnina/gnina