Create write_cassys.m