Optimized, proper commented and Updated MCL

Following three changes are made.
1. Instead of Array, Float32Array And Int32Array has been used.
2.Program has proper comments describing each function.
3.Algorithm is optimized.