Implemented Heavycoin's Retarget algo