A voltage feeding algorithm for vectorial control of linear asynchronous machines taking into account end effect