Allow pad value to be passed as an option for compute()
Refactor documentation