Implementation of Legendre Neural Network to Solve Time-Varying Singular Bilinear Systems