added pad method to utils.jl and tests, and all tests passing