Added ignore to .pyc files
Added discard parameter for min/max. Added unittests. Refactored code