Implemented non-square filters option.