cube calculater

Change-Id: I01523d2221ba357e329e7f998377efc30dc76c93
Signed-off-by: jacob.du <jacob.du@NETIS-JACOB.netis.com.cn>