Update tolerances and rectangularity thresholds
Add checkAspectRatio() method

Returns true if the blob’s aspect ratio is within the provided
threshold and tolerances
Add checkRectangularity() method

Return true if computed rectangularity is greater than the threshold
parameter
Add checkSize() method

Return false if any one of the blob’s dimensions are less than the
minimum threshold passed
Simplified logic in if statement

Uses new methods for improved readability
Removed redundant greenFiltered calls

Refactored greenFiltered to cam