Intelligent 3D Printing Through Optimization Of 3D Print Parameters