Finding the vertex in standard form