added basis function model reading