Adding python wrappers for reductions to condensed form (and fixing several issues with the corresponding C wrappers when only the condensed matrix is desired).