rmeoving more junk
abs value function because android ndk does not have one for integers
abs value function because android ndk does not have one for integers