Also fixed another bug occouring when no normals are provided in sample.py (lists do not have a any() method).