Matrix calculation with multiple answers.