Multiresolution Adaptive Numerical Environment for Scientific Simulation