Added utility file and updated the grid and variables file