Open Source 3-D Filament Diameter Sensor for Recycling, Winding and Additive Manufacturing Machines