Battery Based Last-Mile Module for Freight Electric Locomotives