add random seed setting function to get repeatable result for latinhypercube

add random seed setting function to get repeatable result for latinhypercube