Added BaseBigN encoding. fixed #18
Fixed some errors in BaseN encoding.
Improved parallel version performance. fixed #19