Added support for lower case and empty strings as inputs to -phase.

This fixes #5