code: private static function cleanComplex($complexNumber)
      {
          if ($complexNumber[0] == '+') {
              $complexNumber = substr($complexNumber, 1);
          }
          if ($complexNumber[0] == '0') {
              $complexNumber = substr($complexNumber, 1);
          }
          if ($complexNumber[0] == '.') {
              $complexNumber = '0' . $complexNumber;
          }
          if ($complexNumber[0] == '+') {
              $complexNumber = substr($complexNumber, 1);
          }
  
          return $complexNumber;
      }
docs: Cleans the leading characters in a complex number string.
  
  @param string $complexNumber The complex number to clean
  
  @return string The "cleaned" complex number