Structure from Motion using the Extended Kalman Filter