Handle ensemble filtering with multi-sample inputs, generalizing metrics retrieval. #11 Now cleanly works for multisample ensemble. Needs documentation and additional testing