Resolve #20: use PVector to store beam values