Pantograph and catenary condition based monitoring through pan-head acceleration