added an emulator class to compute galaxy power spectrum and nonlinear matter spectrum