Normalized image. Added function to output labels
Fixed bug. Variable names not updated