Added phase extraction

Phase extraction, plots IM in new subplot