intermediate commit for lin reg grad desc