returns p modes from w-structure solver