Multilayer Feed Forward Network Algorithm