fixed a small bug in isLanding and also made the vector logic capable of handling an undefined slope in the Mobile's vector