Python Pass Variable Number Of Parameters In Convolution