Restored generate swissroll script that is used by valgrind tests