An app that uses AI to help you improve your basketball shot just raised $4 million