Now SbSMatch takes the errors in the phase into account.

Fixed a bug in get_R_terms making it fail in older versions of numpy.