Hopefully fixed linemod.cpp now