Added a melting temp func; needs work