Vectorising the pipe model water flux calculations