fixed some bugs and added Jetson TK1 lcuda path