Modified some parameters, added quick measurement and initialization functions