updated thesis and modified ssc.m