Programming such things always were something complicated for me. Even after years of work in this field... But I'm not sure it's possible in such a situation (hope, the tips shared here will help you). I was really bad at math so a lot of my study tasks during uni were done by other people or...