Add multiply function and docstring