Deleted malloc files (not needed) and some minor changes