Small bugfixes
Rewrite melt degree function