refactored playermatrix, updated pad in automotan and added tests