Reworked the optimization and dilution methods of the Smell class
Revert "Reworked the optimization and dilution methods of the Smell class"

This reverts commit 354936dc7bc16e56821ecb76728e9c10e43263bb.
Revert "Revert "Reworked the optimization and dilution methods of the Smell class""

This reverts commit cd424f227204213ead8e41d650226d84c85f5a07.