Added linux thread classes, fixed abs function error in vector inline class.(using std::abs) instead.