Armor Penalty Fix

Fixed wrap around error when calculating armor penalties.