implementation of levels output in SliceWriter.
Merge branch 'master' of https://github.com/AbFab3D/AbFab3D