Add a note about compressibility
Fix a big bug

Add a detailed derivation of the formula that was used to give the correct
result.