added exceptions; fixed bug in yencodedata; new functions to set/check parameters before use
added exceptions; fixed bug in yencodedata; new functions to set/check parameters before use

dgm816/simple-index