Added simple color output, needs to be extended
Fixed bug in material.cpp