Refactor ApplyCal::Apply* so they accept DPBuffers as arguments. Use XTensor within ApplyCal::Apply*.