made some changes. Fixed some indexing issues removed the linker parts related to counting fp and sp and binding to T__ and V__