hw3 and mat are done...ecc inprogress