updated createdloftus.m and csv file