Scaling attempted, but segfaulting
Fixed scaling. Tested