Removed Attempt at Vectorizing