Error in solve.default(h[!atBound, !atBound], g[!atBound]) : 
  system is computationally singular: reciprocal condition number = 7.43645e-184

system is computationally singular: reciprocal condition number = 7.43645e-184