General Cleanup - !second_neighborst.empty() was being checked twice.
General Cleanup - type == "Masked_grid" was being checked twice.
General Cleanup - Column == 0 was being checked twice. I think the else if should have been column != 0
General Cleanup - type == "Masked_grid" was being checked twice.
General Cleanup - The if was doing the same thing as the else
General Cleanup - The if was doing the same thing as the else.
General Cleanup - The if was doing the else as the else. Also moved the assignment to save some space.
General Cleanup - Changed the last parameter to .end() as I think this was unintendedly made .begin()
General Cleanup - prop was assigned to itself.
General Cleanup - Deleting cov_copy twice is not neccessary.
General Cleanup - iso_expansion was being checked against 1 instead of being assigned.
General Cleanup - is_thresold_active_ was being checked against false instead of being assigned.
General Cleanup - is_thresold_active_ was being checked against false instead of being assigned.
General Cleanup - is_thresold_active_ was being checked against false instead of being assigned.
General Cleanup - Unused variable.
General Cleanup - Unused variable removed.
General Cleanup - Unused variables removed
General Cleanup - Unused variable removed.
General Cleanup - Unused variable removed.
General Cleanup - Unused variables removed.