Fixed bug with vertex indices wrapping around.
Removed debug output. 
Added private constructors.