General Linear Model using basis Functions