Update and rename Wb.m to nn.m

contains neural network function.