Removed get_weights method from CompositeLayer for now since it's not really clear to me how it should behave