Remove redundant local copy of filter, and provide filter getter that copies from GPU to a new numpy array that is returned.