I think i fixed the normal shadows, there was an error in the math, which i fixed, now need to do soft shadows