I simply altered @Lightnin's project so that it calculated for you! Enjoy! Yah, as @Lightnin said, sometimes it doesn't work. ;)
@Lightnin