Scotland invests in precision medicine