Issue #867 : use 2 scale regions for reference_power vectors to improve precision. Work in progress. Format. Fix warning.