Fixed prealignment

vectors weren’t working properly in prealignment process, so fixed.