Reimplemented a faster version of abel transform