Almost finished - possible bug in final value calculation of SN