Stochastic Testing Simulator for Integrated Circuits and MEMS: Hierarchical and Sparse Techniques — arXiv2