Added reshape function, split key function, changed light direction