getCosinorBasis function

Basis matrix for cosinor