Cleaned up "function", put some plots of pc's to verify the hull algorithm is working.