Polynomial Solutions To The Minimal Surface Equation And Green Functions On Singular Minimal Submanifolds