inverse log transformation python