Fixing calculation to actually work