improvements to init_layer and bind_layer. references #29