ENH: moved filter and added axis arg
     moved where,mask,align