TT Jr's 3-axis glider design

So you take the standard 3-axis sailplane and you put two, of what i am going to call, centerboards on it that are attached at the center of gravity (CoG) which fold out after take-off and fold in before landing. What the centerboards do is act like sails and are oriented vertically, perpendicular to the wings themselves, one above the cockpit and one below. Here is what i have accomplished (in my head);
I am flying from point A to point B. I am 3000' AGL above point A, point B is exactly 3000' upwind of point A, the wind is perfect and travels in no other direction other than horizontally and parallel to the line drawn by point B to point A, the earth is perfectly flat. I have discovered that by flying 14 degrees off of directly into the wind from point A to point B, making one tack (/turn) half way from point A to point B of an amount of 28 degrees in the opposite direction of my original heading, while maintaining Vglide, gives me the maximum amount of altitude over point B without sacrificing any more altitude than i have to.
I am flying from point A to point B. I am 3000' AGL above point A, point B is exactly 3000' upwind of point A, the wind is perfect and travels in no other direction other than horizontally and parallel to the line drawn by point B to point A, the earth is perfectly flat. I have discovered that by flying 14 degrees off of directly into the wind from point A to point B, making one tack (/turn) half way from point A to point B of an amount of 28 degrees in the opposite direction of my original heading, while maintaining Vglide, gives me the maximum amount of altitude over point B without sacrificing any more altitude than i have to.