ycoord = np.append(ycoord, ycoord[:, -2].reshape(n, 1), axis=1)