Update functions.inc.php

Corrected math and sysctl commands to show correct memory, if using original code if you add it up it does not match the total mem shown