Removed inconsistencies between paper and API on GitHub. Added examples.