corrected a bug in the excpetion
Added compatibility to python pickle as alternativo the C version
Merge pull request #12 from vrescobar/master

Added compatibility for pickle