sped up IO, added amd to mex file
added new gitignore file