Mesh Initialization + NLopt lib