PHP Class for handling Complex numbers