add melt material model with latent heat

fix some bugs

indentation

clean up and add documentation

add some documentation

add two tests