Bucket

Fixing some bugs for non-cartesian trajectories and simplifying the code to improve readability.