Added time function using wolfram