new file 'player2peaksbyaxis.py' is more efficient in calculating max and keeps track of peaks and dips for each axis