fix SufaceNormalDotTerm

- make material shape (D, 1) to be compatible with SDSufaceNormalDotTerm