Visual Basic - Planarize Mesh

Custom written VB script to planarize mesh. Based on physical approach - uses force vectors. As seen on the pictures, the moral regular input, the more predictable output.