Fixes calculation when no weights in variants.

Calculator expected weight to be nil but it always returns a BigDecimal.
Update cops.
Remove Rubocop from guard don't play well with pry