added function to generate a map of parameter names and indicies
Merge pull request #1 from isocket/parammap_generator

added function to generate a map of parameter names and indicies