Removed typedef

Removed typedef which caused strange numerical errors