* Added shared weight option for layers.
- Changed Synapse class to have a base structure as a pointer to share if needed.
- When shared point is turned off, everything will act as before but when it is turned on, neurons will give request to change the shared weights to Layer and then layer will consider the requests given by the most active neuron.
- logging permanently has been commented as it wasn't consistent with the new structure. It will be fixed in the next commit.
* Gained 100% for 2-class object recognition using CU3D dataset.
* Gained 98% for face/non-face recognition task using caltech dataset.