ENH add normalize option to accuracy_score + FIX bug with 1d array