add axis argument to function.product()
Merge pull request #36 from wijnandhoitinga/library

add axis argument to function.product()