fully implement padarray function.

rename pad_type to pad_method.

remove symmetric101 on pad_type.