Solve for H A=B*H