add gaussian pyramid and corresponding tests