added normalization for filters from scalar to array