Adding tested geometry discretization capability.
PEP 8
More style fixes.