Classification and prediction of matrix structured data with applications to recommendation systems, identifying anti-socials and bot-nets