Classification of asteroids using G-mode analysis