added var weight and set up 2d equation