alignByIdeal function

Align constructs using the ideal element to gain pole preferences.