Add scaledual for optimized computations
Fix multiplication bug and export capitalization