doing inv quadratic. possibly need lower learning rate