Removed files that shouldn't be on git, like those generated by the autotools, and fixed the memory bug.