Finished Hacked SCF code.