Perspective Matrix and Per-pixel lighting

Did I do this right? I have no idea how to use github.
Does this set all 3 elements to 1.0?