Added vector visualization (e.g. for surface normals), function extensions and bugfixing.