Updated readme
Added calloc wrapper
Fixed malloc error caused by writing code on a platform where I couldn't compile or run this