Extremization to fine tune physics informed neural networks for solving boundary value problems | Synapse