additional fixes

updates to parser, simpleProgram, and mesh class to make them
compatible with new index format