Use new calculation function for elevator pos
Change all mixins to use a named local for clarity