fixing compile errors
modified Test and make file and fixing GEN
end of day, maybe problem with weight