refactored materials into a single trianglematerial class
updated tests
updated libs
updated build