@badapple:
Vector declaration seems fine...
I've just learned it in here
vector declaration

Anyway, I've put already the vectors tempVel,tempNormal as global variable vectors as posted above...

still, I encounter the crash...