Fixed issues with efficiency being infinite.