Implments Normalize function and normal vector function