Fixed issue in last commit.
Extended ml_trainvote to multi-task learning, and higher-dimensional feature tensors.