New phase effect, optimisations

Wire input for phasing added and shadow no longer shows while hidden.