Linear Regression on Manifold Structured Data: the Impact of Extrinsic Geometry on Solutions