Algorithms For Shared-Memory Matrix Completion And Maximum Inner Product Search