Threads should be finished

Threading is done for the multiplication only