Corrected getCoeffs() - from now it calculates betta with vector of hc, not
for a const h.