calc solve for linear formula group Ax=b