Adding native encoding function for Fp Point in the Miracl dlog primitive

Instead of using the utility class that encode the array using bouncy castle, we use a native function which is much more efficient.