Incorporate custom functions in sklearn pipeline