Creating new TensorMetric (MultilabelAccuracy), running into _orig_call error

Fixed the code in the original post (wrongly used pred instead of pred_bool). Also, added a check whether the prediction was already in binary format.