Merge pull request #3 from mark-gitry/master

Expose functions to help determine parameters