Changed prior specification in Layer class