Update names and fuctions
Update names and fuctions

Decided to use the name “loss” again because TensorFlow tutorial call
it loss function. And organized training function including it.

iShoto/incoption