Mathematical functions for PHP that relate to science and statistics