Fixed bug in creating faces
Added preparation for iterative smoothing
Added legend for smoothing faces