Added computation of phi back to medium as the relative humidity sensor needs it.

This is for #21.
Corrected html.
Updated reference results due to new implementation of Water.

This is for #21.