Deleted old code for perpendicular intensity. Wrote parIntensity function. Will start replacing calls to that function.