Now ComputeProfiles returns error codes (see Errors.h)
Error codes in Python wrappers.