change default h_r
add ndim to sweq.run object