Attaining Consonance in Arbitrary Scales