Onboard Autonomy of CubeSat Clusters based on Smartphone Technology