fix unintialized reference error
Add helpers function to convert between KeyPoint and Point