Real time current vector estimation