Sets initial values for mesh