Mathematical foundations: vectors