added phonix algorithm, added/adjusted tests for phonix
fixed phonix & tests
trimmed variable names
spacing