Refactoring

Remove is_print parameter from phi()