Fixed tutte function I deleted before