fix a bug when dataprovider reset

get element in queue to stop waiting
move batch_index code, make sure batch index is correct
add plot figure function into analysis.py
remove import statement when fastnet is imported
print the parameters of layers
add a fastnet iterator

convinient when accessing to the layers of net from outside
move code around to make layerwisedtrainer cleaner
add experiments scripts