parameter optimization and change class name from Sim to Sph
reomve sph cpp source