Initial implementation of calculating the alignment for the user.