Added Magma/Lava
Optimized Input variables
Server and Client update