based off the C-RAM I think this is a more accurate version of it
previous version: https://scratch.mit.edu/projects/1277136826