Incorporated more precomputed vars, add C skeleton