Fixed all issues , but Type() function in BoneImplementation.cpp is generating a warning