Initial contributions

I've just gone though the code improving some things and aligning some memory sizes. Also, added readme.txt and some ramblings in it about what I'm doing with MSD.