Finished the shortest cycle (mistakenly used largest before) and started tuttes algorithm which just need a few more things implemented to work.