started implementation of fast food
fixed a bug in the basis function test