fixes in grad_desc but still huge error