fixes to verification and layer snapping
Merge branch 'master' of https://github.com/SCOREC/core