use updated cofi_cost gem which fixes a bug where now it regularizes theta.