Altered PIS to be closer to a Gradient Descent algorithm