split GP functionality from math and algorithms

- moving average